package com.thingsgrid.basicInterface.service.impl;

import com.thingsgrid.basicInterface.entity.BasicInterfaceType;
import com.thingsgrid.basicInterface.vo.BasicInterfaceTypeVO;
import com.thingsgrid.basicInterface.mapper.BasicInterfaceTypeMapper;
import com.thingsgrid.basicInterface.service.IBasicInterfaceTypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 *  服务实现类
 *
 * @author BladeX  // ServiceImpl<BasicInterfaceTypeMapper, BasicInterfaceType>
 * @since 2019-08-10
 */
@Service
public class BasicInterfaceTypeServiceImpl extends ServiceImpl<BasicInterfaceTypeMapper, BasicInterfaceType> implements IBasicInterfaceTypeService {

	@Override
	public IPage<BasicInterfaceTypeVO> selectBasicInterfaceTypePage(IPage<BasicInterfaceTypeVO> page, BasicInterfaceTypeVO basicInterfaceType) {
		return page.setRecords(baseMapper.selectBasicInterfaceTypePage(page, basicInterfaceType));
	}

}
